<template>
  <div id="tables">
    <div class="d-flex pt-2 pl-2" style="margin-top: 0.1rem;margin-left:0.1rem;width: 100%;height: 5%">
        <span style="color:#5cd9e8">
          <icon name="chart-line"></icon>
        </span>
      <div class="d-flex">
        <span class="fs-xl text mx-2" style="font-size: 0.2rem">水流变化数据表</span>
      </div>
    </div>
    <div class="table-bg">
      <dv-scroll-board :config="config"/>
    </div>
  </div>
</template>

<script>
// import centreRight2Chart1 from "@/components/echart/centerRight/centerRightChart";

export default {
  data() {
    return {
      config: {
        header: ["设备号", "流速", "水位","温度"],
        data: [
          ["1120", "200.23mm/s", "<span  class='colorGrass'>1000mm</span>","22.5C"],
          ["3360", "215.13mm/s", "<span  class='colorRed'>1005mm</span>","22.5C"],
          ["4425", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["2541", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["1562", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["3687", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["7569", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["6352", "220.42mm/s", "<span  class='colorRed'>1005mm</span>","22.5C"],
          ["1282", "220.42mm/s", "<span  class='colorRed'>1005mm</span>","22.5C"],
          ["3205", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["2541", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["1562", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["3687", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["7569", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"],
          ["6352", "220.42mm/s", "<span  class='colorRed'>1005mm</span>","22.5C"],
          ["1282", "220.42mm/s", "<span  class='colorRed'>1005mm</span>","22.5C"],
          ["3205", "220.42mm/s", "<span  class='colorGrass'>1005mm</span>","22.5C"]
        ],
        rowNum: 15, //表格行数
        headerHeight: 40,
        headerBGC: '#00000000', //表头
        oddRowBGC: "#00000000", //奇数行
        evenRowBGC: "#00000000", //偶数行
        index: true,
        columnWidth: [50],
        align: ["center"]
      }
    };
  },
  components: {},
  mounted() {
  },
  methods: {}
};
</script>

<style lang="scss">
#tables {
  width: 100%;
  height: 100%;
  .table-bg {
    width: 100%;
    height: 90%;
  }

}
</style>
